Method: HaveAPI::Fs::Components::ComponentList#read
- Defined in:
- lib/haveapi/fs/components/component_list.rb
#read ⇒ Object
| 3 4 5 6 7 8 9 | # File 'lib/haveapi/fs/components/component_list.rb', line 3 def read str = component_list.map do |c| sprintf('%-50s %s', c.class.name, c.path) end.join("\n") str += "\n" unless str.empty? str end |