Class: Source2Epub::Configuration
- Inherits:
-
Object
- Object
- Source2Epub::Configuration
- Defined in:
- lib/source2epub/configuration.rb
Instance Attribute Summary collapse
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#published_date ⇒ Object
Returns the value of attribute published_date.
-
#publisher ⇒ Object
Returns the value of attribute publisher.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
7 8 9 10 11 12 |
# File 'lib/source2epub/configuration.rb', line 7 def initialize @creator = "https://github.com/agilecreativity/source2epub" @publisher = "http://agilecreativity.com" @published_date = Time.now.strftime("%Y-%m-%d %H:%M:%S") @identifier = "https://agilecreativity.com/" end |
Instance Attribute Details
#creator ⇒ Object
Returns the value of attribute creator.
3 4 5 |
# File 'lib/source2epub/configuration.rb', line 3 def creator @creator end |
#identifier ⇒ Object
Returns the value of attribute identifier.
3 4 5 |
# File 'lib/source2epub/configuration.rb', line 3 def identifier @identifier end |
#published_date ⇒ Object
Returns the value of attribute published_date.
3 4 5 |
# File 'lib/source2epub/configuration.rb', line 3 def published_date @published_date end |
#publisher ⇒ Object
Returns the value of attribute publisher.
3 4 5 |
# File 'lib/source2epub/configuration.rb', line 3 def publisher @publisher end |