Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/skype/sharefunctions.rb,
lib/skype/object.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#_flag ⇒ Object
258 259 260 261 262 263 264 265 266 267 |
# File 'lib/skype/object.rb', line 258 def _flag case self when /^(TRUE)|(ON)$/i return true when /^(FALSE)|(OFF)$/i return false else self end end |
#_int ⇒ Object
269 270 271 |
# File 'lib/skype/object.rb', line 269 def _int self.empty? ? nil : self.to_i end |
#_str ⇒ Object
273 274 275 |
# File 'lib/skype/object.rb', line 273 def _str self end |