Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/termtter/system_extensions/core_compatibles.rb,
lib/termtter/system_extensions/core_compatibles.rb
Instance Method Summary collapse
Instance Method Details
#size ⇒ Object
19 20 21 |
# File 'lib/termtter/system_extensions/core_compatibles.rb', line 19 def size self.to_s.size end |
#to_proc ⇒ Object
11 12 13 |
# File 'lib/termtter/system_extensions/core_compatibles.rb', line 11 def to_proc Proc.new { |*args| args.shift.__send__(self, *args) } end |