Sha256: 69a6b8afd98c09dc01639b9ebde5bd3e6f9c76db193539246d5232a96788783f

Contents?: true

Size: 459 Bytes

Versions: 11

Compression:

Stored size: 459 Bytes

Contents

# module Legato
#   module Reports
#     def self.add_report_method(klass)
#       # demodulize leaves potential to redefine
#       # these methods given different namespaces
#       method_name = klass.name.to_s.demodulize.underscore
#       return unless method_name.length > 0
# 
#       class_eval <<-CODE
#         def #{method_name}(opts = {}, &block)
#           #{klass}.results(self, opts, &block)
#         end
#       CODE
#     end
#   end
# end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
legato-0.2.0 lib/legato/reports.rb
legato-0.1.0 lib/legato/reports.rb
legato-0.0.10 lib/legato/reports.rb
legato-0.0.9 lib/legato/reports.rb
legato-0.0.8 lib/legato/reports.rb
legato-0.0.7 lib/legato/reports.rb
legato-0.0.6 lib/legato/reports.rb
legato-0.0.5 lib/legato/reports.rb
legato-0.0.4 lib/legato/reports.rb
legato-0.0.2 lib/legato/reports.rb
legato-0.0.1 lib/legato/reports.rb