Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/core_ext/string.rb
Constant Summary collapse
- OPERATOR_AFTER =
' < '
Instance Method Summary collapse
Instance Method Details
#args(*array) ⇒ Object
10 11 12 |
# File 'lib/core_ext/string.rb', line 10 def args(*array) @point_free_args = array end |
#r(receiver) ⇒ Object
5 6 7 |
# File 'lib/core_ext/string.rb', line 5 def r(receiver) @point_free_receiver = receiver end |
#to_proc ⇒ Object
15 16 17 18 |
# File 'lib/core_ext/string.rb', line 15 def to_proc parse_expression(self) expression.to_proc end |