Class: Toast::Message
- Inherits:
-
Struct
- Object
- Struct
- Toast::Message
- Defined in:
- lib/util.rb,
lib/util.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
2 3 4 |
# File 'lib/util.rb', line 2 def from @from end |
#text ⇒ Object
Returns the value of attribute text
2 3 4 |
# File 'lib/util.rb', line 2 def text @text end |
Instance Method Details
#to_s ⇒ Object
5 |
# File 'lib/util.rb', line 5 def to_s ; @text ; end |