Method: RIO::Ext::Input.add_extensions
- Defined in:
- lib/rio/ext.rb
.add_extensions(obj) ⇒ Object
119 120 121 122 123 124 |
# File 'lib/rio/ext.rb', line 119 def add_extensions(obj) obj.extend(CSV::Input) if obj.csv? obj.extend(SplitLines::Input) if obj.splitlines? obj.extend(YAML::Input) if obj.yaml? obj end |