Class: Bunko::Configuration::PostTypeCustomizer

Inherits:
Object
  • Object
show all
Defined in:
lib/bunko/configuration.rb

Instance Method Summary collapse

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