Module: SexyScopes::Arel::Typecasting
- Included in:
- Math
- Defined in:
- lib/sexy_scopes/arel/typecasting.rb
Instance Method Summary collapse
Instance Method Details
#*(other) ⇒ Object
4 5 6 |
# File 'lib/sexy_scopes/arel/typecasting.rb', line 4 def *(other) super SexyScopes.type_cast(other, self) end |
#+(other) ⇒ Object
8 9 10 |
# File 'lib/sexy_scopes/arel/typecasting.rb', line 8 def +(other) super SexyScopes.type_cast(other, self) end |
#-(other) ⇒ Object
12 13 14 |
# File 'lib/sexy_scopes/arel/typecasting.rb', line 12 def -(other) super SexyScopes.type_cast(other, self) end |
#/(other) ⇒ Object
16 17 18 |
# File 'lib/sexy_scopes/arel/typecasting.rb', line 16 def /(other) super SexyScopes.type_cast(other, self) end |