Class: Bunko::Configuration::PostTypeCustomizer
- Inherits:
-
Object
- Object
- Bunko::Configuration::PostTypeCustomizer
- Defined in:
- lib/bunko/configuration.rb
Instance Method Summary collapse
-
#initialize(post_type_hash) ⇒ PostTypeCustomizer
constructor
A new instance of PostTypeCustomizer.
- #title=(value) ⇒ Object
Constructor Details
#initialize(post_type_hash) ⇒ PostTypeCustomizer
Returns a new instance of PostTypeCustomizer.
6 7 8 |
# File 'lib/bunko/configuration.rb', line 6 def initialize(post_type_hash) @post_type_hash = post_type_hash end |
Instance Method Details
#title=(value) ⇒ Object
10 11 12 |
# File 'lib/bunko/configuration.rb', line 10 def title=(value) @post_type_hash[:title] = value end |