Class: Papercat::Javascript
- Defined in:
- app/models/papercat/javascript.rb
Instance Method Summary collapse
Methods inherited from Document
Instance Method Details
#as_json(options = {}) ⇒ Object
11 12 13 |
# File 'app/models/papercat/javascript.rb', line 11 def as_json = {} super(.update(methods: [:pathname, :source], except: [:data])) end |