Sha256: 23aad422d25f259aa8e347438705f502cba19cafd8846f485beffdb91481f2bf
Contents?: true
Size: 378 Bytes
Versions: 7
Compression:
Stored size: 378 Bytes
Contents
<% instance_methods.each do |method| -%> def <%= method.name %><%= "(#{method.arguments})" unless method.arguments.blank? %> <%= method.body %> end <% end -%> module ClassMethods <% class_methods.each do |method| -%> def <%= method.name %><%= "(#{method.arguments})" unless method.arguments.blank? %> <%= method.body %> end <% end -%> end extend ClassMethods
Version data entries
7 entries across 7 versions & 1 rubygems