Class: Latexpdf::Configuration
- Inherits:
-
Object
- Object
- Latexpdf::Configuration
- Defined in:
- lib/latexpdf/configuration.rb
Instance Attribute Summary collapse
-
#build_path ⇒ Object
Returns the value of attribute build_path.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#passes ⇒ Object
Returns the value of attribute passes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/latexpdf/configuration.rb', line 5 def initialize @passes = 2 @build_path = File.("../../tmp/", __dir__) @logger = Logger.new(STDERR).tap do |log| log.progname = "Latexpdf" end end |
Instance Attribute Details
#build_path ⇒ Object
Returns the value of attribute build_path.
3 4 5 |
# File 'lib/latexpdf/configuration.rb', line 3 def build_path @build_path end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/latexpdf/configuration.rb', line 3 def logger @logger end |
#passes ⇒ Object
Returns the value of attribute passes.
3 4 5 |
# File 'lib/latexpdf/configuration.rb', line 3 def passes @passes end |