Module: Princely
- Defined in:
- lib/princely.rb,
lib/princely/pdf.rb,
lib/princely/logging.rb,
lib/princely/version.rb,
lib/princely/executable.rb,
lib/princely/pdf_helper.rb,
lib/princely/asset_support.rb,
lib/princely/stdout_logger.rb
Defined Under Namespace
Modules: AssetSupport, Logging, PdfHelper
Classes: Executable, Pdf, StdoutLogger, Version
Class Method Summary
collapse
Class Method Details
.executable ⇒ Object
30
31
32
|
# File 'lib/princely.rb', line 30
def executable
@custom_executable || Princely::Executable.new
end
|
.executable=(custom_executable) ⇒ Object
34
35
36
|
# File 'lib/princely.rb', line 34
def executable=(custom_executable)
@custom_executable = custom_executable
end
|
.root ⇒ Object
38
39
40
|
# File 'lib/princely.rb', line 38
def root
Pathname.new(File.expand_path('../', __FILE__))
end
|
42
43
44
|
# File 'lib/princely.rb', line 42
def ruby_platform
RUBY_PLATFORM
end
|