Class: FplGsheet::Entries
- Inherits:
-
Hash
- Object
- Hash
- FplGsheet::Entries
- Defined in:
- lib/fpl_gsheet/entry.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/fpl_gsheet/entry.rb', line 52 def [](key) val = super if val.nil? # Load it val = Entry.new(key) # Cache it so we don't have to create the Entry again self[key] = val end val end |