Sha256: 094a1928ac3fc648af47ce17f1f871784cac1c3ce61d4511f8d0d9410079b6f3
Contents?: true
Size: 420 Bytes
Versions: 52
Compression:
Stored size: 420 Bytes
Contents
module EitilWrapper class ApplicationDecorator include ActiveModel::Model def initialize(attributes={}, **kwargs) super attributes all_kwargs_to_ivars binding end def self.method_missing(method_name, *args, **kwargs) if %i$ web app $.include?(method_name.to_sym) kwargs.any? ? send(:base, *args, **kwargs) : send(:base, *args) end super end end end
Version data entries
52 entries across 52 versions & 1 rubygems