Sha256: 506877478703b98802749b1118753605f6fa9092471cbfd7761755b96d0ace4e

Contents?: true

Size: 215 Bytes

Versions: 17

Compression:

Stored size: 215 Bytes

Contents

module Draper
  module LazyHelpers
    def method_missing(method_name, *args, &block)
      begin
        helpers.send method_name, *args, &block
      rescue NoMethodError
        super
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
draper-1.0.0.beta6 lib/draper/lazy_helpers.rb
draper-1.0.0.beta5 lib/draper/lazy_helpers.rb
draper-1.0.0.beta4 lib/draper/lazy_helpers.rb
draper-1.0.0.beta3 lib/draper/lazy_helpers.rb
draper-1.0.0.beta2 lib/draper/lazy_helpers.rb
draper-1.0.0.beta1 lib/draper/lazy_helpers.rb
draper-0.18.0 lib/draper/lazy_helpers.rb
draper-0.17.0 lib/draper/lazy_helpers.rb
draper-0.16.0 lib/draper/lazy_helpers.rb
draper-0.15.0 lib/draper/lazy_helpers.rb
draper-0.15.0rc1 lib/draper/lazy_helpers.rb
draper-0.14.0 lib/draper/lazy_helpers.rb
draper-0.12.3 lib/draper/lazy_helpers.rb
draper-0.12.2 lib/draper/lazy_helpers.rb
draper-0.13.0 lib/draper/lazy_helpers.rb
draper-0.12.1 lib/draper/lazy_helpers.rb
draper-0.12.0 lib/draper/lazy_helpers.rb