Module: Servicy::Formats
- Defined in:
- lib/formats.rb,
lib/formats/json.rb
Defined Under Namespace
Classes: JSON
Class Method Summary collapse
Class Method Details
.method_missing(name, *args, &block) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/formats.rb', line 23 def self.method_missing(name, *args, &block) c = Servicy::Formats.const_get(name) return c if c && c.ancestors.include?(Servicy::Format) rescue super end |