Class: Ardb::RelationSpy::AppliedExpression
- Inherits:
-
Struct
- Object
- Struct
- Ardb::RelationSpy::AppliedExpression
- Defined in:
- lib/ardb/relation_spy.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
146 147 148 |
# File 'lib/ardb/relation_spy.rb', line 146 def args @args end |
#type ⇒ Object
Returns the value of attribute type
146 147 148 |
# File 'lib/ardb/relation_spy.rb', line 146 def type @type end |
Instance Method Details
#to_sql ⇒ Object
147 148 149 |
# File 'lib/ardb/relation_spy.rb', line 147 def to_sql "#{type}: #{args.inspect}" end |