Sha256: 32e47e423a39347276be899624e78c1dab3549d115c74b208b06bdd1774df53f
Contents?: true
Size: 198 Bytes
Versions: 8
Compression:
Stored size: 198 Bytes
Contents
module RailsAttrEnum ## Represent an attribute class Attr attr_reader :name, :enum_name def initialize(name) @name = name.to_s @enum_name = @name.camelize end end end
Version data entries
8 entries across 8 versions & 1 rubygems