Class: EY::LockfileParser
- Defined in:
- lib/engineyard-serverside/lockfile_parser.rb
Instance Attribute Summary collapse
-
#bundler_version ⇒ Object
readonly
Returns the value of attribute bundler_version.
-
#lockfile_version ⇒ Object
readonly
Returns the value of attribute lockfile_version.
Instance Method Summary collapse
-
#initialize(lockfile_contents) ⇒ LockfileParser
constructor
A new instance of LockfileParser.
Constructor Details
#initialize(lockfile_contents) ⇒ LockfileParser
Returns a new instance of LockfileParser.
7 8 9 10 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 7 def initialize(lockfile_contents) @contents = lockfile_contents @lockfile_version, @bundler_version = parse end |
Instance Attribute Details
#bundler_version ⇒ Object (readonly)
Returns the value of attribute bundler_version.
5 6 7 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 5 def bundler_version @bundler_version end |
#lockfile_version ⇒ Object (readonly)
Returns the value of attribute lockfile_version.
5 6 7 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 5 def lockfile_version @lockfile_version end |