Module: ActionService::Exporting
- Defined in:
- lib/action_service/exporting.rb
Defined Under Namespace
Modules: ClassMethods Classes: ExportError
Class Method Summary collapse
Class Method Details
.append_features(base) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/action_service/exporting.rb', line 6 def self.append_features(base) super # Whether to mangle method names into friendly camelized names # when declaring them to remote callers base.class_inheritable_option :export_name_mangling, true # If present, the name of a method to call when the remote caller # tried to call a nonexistent method. Semantically equivalent to # +method_missing+. base.class_inheritable_option :default_export base.extend(ClassMethods) end |