Class: JBundler::Context
- Inherits:
-
Object
- Object
- JBundler::Context
- Defined in:
- lib/jbundler/context.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #classpath ⇒ Object
- #gemfile_lock ⇒ Object
-
#initialize ⇒ Context
constructor
A new instance of Context.
- #jarfile ⇒ Object
- #vendor ⇒ Object
Constructor Details
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
11 12 13 |
# File 'lib/jbundler/context.rb', line 11 def config @config end |
Instance Method Details
#classpath ⇒ Object
25 26 27 |
# File 'lib/jbundler/context.rb', line 25 def classpath @classpath ||= JBundler::ClasspathFile.new( @config.classpath_file ) end |
#gemfile_lock ⇒ Object
29 30 31 32 |
# File 'lib/jbundler/context.rb', line 29 def gemfile_lock @gemfile_lock ||= JBundler::GemfileLock.new( jarfile, @config.gemfile_lock ) end |
#jarfile ⇒ Object
17 18 19 |
# File 'lib/jbundler/context.rb', line 17 def jarfile @jarfile ||= Maven::Tools::Jarfile.new( @config.jarfile ) end |