Module: Druid::Serializable
- Included in:
- HavingFilter, PostAggregationJavascript
- Defined in:
- lib/druid/serializable.rb
Instance Method Summary collapse
Instance Method Details
#as_json(*a) ⇒ Object
11 12 13 |
# File 'lib/druid/serializable.rb', line 11 def as_json(*a) to_hash end |
#to_hash ⇒ Object
3 4 5 |
# File 'lib/druid/serializable.rb', line 3 def to_hash {} end |
#to_json(*a) ⇒ Object
15 16 17 |
# File 'lib/druid/serializable.rb', line 15 def to_json(*a) to_hash.to_json(*a) end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/druid/serializable.rb', line 7 def to_s to_hash.to_s end |