Module: RTM::IO::ToString::Locator

Defined in:
lib/rtm/io/to_string.rb

Instance Method Summary collapse

Instance Method Details

#to_s(style = :short) ⇒ Object



128
129
130
131
132
133
134
135
# File 'lib/rtm/io/to_string.rb', line 128

def to_s(style=:short)
  case style
  when :short
    value
  when :long
    value
  end
end