Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/tnetstrings.rb
Instance Method Summary collapse
Instance Method Details
#to_tnets(*a, &b) ⇒ Object
99 100 101 102 103 104 105 106 107 |
# File 'lib/tnetstrings.rb', line 99 def to_tnets(*a, &b) if respond_to? :as_tnets as_tnets(*a).to_tnets elsif respond_to? :as_json as_json(*a).to_tnets else method_missing(:to_tnets, *a, &b) end end |