Module: RIO::Ext::Input
- Defined in:
- lib/rio/ext.rb
Class Method Summary collapse
Class Method Details
.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 |