Method: Quotes.read_builtin
- Defined in:
- lib/cryptoquotes.rb
.read_builtin(name) ⇒ Object
17 18 19 20 |
# File 'lib/cryptoquotes.rb', line 17 def self.read_builtin( name ) name = name.gsub( ' ', '_') ## auto-convert spaces to underscore (_) read( "#{root}/data/#{name}.yml" ) end |