Class: Toast::Message

Inherits:
Struct
  • Object
show all
Defined in:
lib/util.rb,
lib/util.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from



2
3
4
# File 'lib/util.rb', line 2

def from
  @from
end

#textObject

Returns the value of attribute text



2
3
4
# File 'lib/util.rb', line 2

def text
  @text
end

Instance Method Details

#to_sObject



5
# File 'lib/util.rb', line 5

def to_s ; @text ; end