Sha256: fe85edde4d265b7fa4d46c3865b6baccbcf94995e9c4e7b1f2a3cb4565e23d43
Contents?: true
Size: 381 Bytes
Versions: 6
Compression:
Stored size: 381 Bytes
Contents
class RubyGenerator < Generator # this is mixed into a goal to provide it with convenience methods for generating ruby code. def ivar_name(goal) "@" + goal.name end # def ruby_plural_ivar_name # ruby_ivar_name.pluralize # end # def ruby_ivar_tuple(end_index = -1) # self.resource_tuple[0..end_index].map {|c| c.rails_symname } # end end
Version data entries
6 entries across 6 versions & 1 rubygems