Module: RudeQ::InstanceMethods
- Defined in:
- lib/rude_q.rb
Instance Method Summary collapse
-
#data ⇒ Object
:nodoc:.
-
#data=(value) ⇒ Object
:nodoc:.
Instance Method Details
#data ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/rude_q.rb', line 18 def data # :nodoc: YAML.load(self[:data]) end |
#data=(value) ⇒ Object
:nodoc:
21 22 23 |
# File 'lib/rude_q.rb', line 21 def data=(value) # :nodoc: self[:data] = YAML.dump(value) end |