Module: MyFirstRailsGem::ActsAsPuan::ClassMethods
- Includes:
- LocalInstanceMethods
- Defined in:
- lib/my_first_rails_gem/act_as_puan.rb
Instance Method Summary collapse
Methods included from LocalInstanceMethods
Instance Method Details
#acts_as_puan(options = {}) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/my_first_rails_gem/act_as_puan.rb', line 9 def acts_as_puan( = {}) # your code will go here cattr_accessor :puan self.puan= "puan yang say hi to you" end |