Class: Source2Epub::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



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

#creatorObject

Returns the value of attribute creator.



3
4
5
# File 'lib/source2epub/configuration.rb', line 3

def creator
  @creator
end

#identifierObject

Returns the value of attribute identifier.



3
4
5
# File 'lib/source2epub/configuration.rb', line 3

def identifier
  @identifier
end

#published_dateObject

Returns the value of attribute published_date.



3
4
5
# File 'lib/source2epub/configuration.rb', line 3

def published_date
  @published_date
end

#publisherObject

Returns the value of attribute publisher.



3
4
5
# File 'lib/source2epub/configuration.rb', line 3

def publisher
  @publisher
end