Class: Bundix::ShellNixContext
- Inherits:
-
Struct
- Object
- Struct
- Bundix::ShellNixContext
- Defined in:
- lib/bundix/shell_nix_context.rb
Instance Attribute Summary collapse
-
#gemfile ⇒ Object
Returns the value of attribute gemfile.
-
#gemset ⇒ Object
Returns the value of attribute gemset.
-
#lockfile ⇒ Object
Returns the value of attribute lockfile.
-
#project ⇒ Object
Returns the value of attribute project.
-
#ruby ⇒ Object
Returns the value of attribute ruby.
Class Method Summary collapse
Instance Method Summary collapse
- #bind ⇒ Object
- #gemfile_path ⇒ Object
- #gemset_path ⇒ Object
- #lockfile_path ⇒ Object
- #path_for(file) ⇒ Object
Instance Attribute Details
#gemfile ⇒ Object
Returns the value of attribute gemfile
2 3 4 |
# File 'lib/bundix/shell_nix_context.rb', line 2 def gemfile @gemfile end |
#gemset ⇒ Object
Returns the value of attribute gemset
2 3 4 |
# File 'lib/bundix/shell_nix_context.rb', line 2 def gemset @gemset end |
#lockfile ⇒ Object
Returns the value of attribute lockfile
2 3 4 |
# File 'lib/bundix/shell_nix_context.rb', line 2 def lockfile @lockfile end |
#project ⇒ Object
Returns the value of attribute project
2 3 4 |
# File 'lib/bundix/shell_nix_context.rb', line 2 def project @project end |
#ruby ⇒ Object
Returns the value of attribute ruby
2 3 4 |
# File 'lib/bundix/shell_nix_context.rb', line 2 def ruby @ruby end |
Class Method Details
.from_hash(hash) ⇒ Object
3 4 5 |
# File 'lib/bundix/shell_nix_context.rb', line 3 def self.from_hash(hash) new(*hash.values_at(*members)) end |
Instance Method Details
#bind ⇒ Object
7 8 9 |
# File 'lib/bundix/shell_nix_context.rb', line 7 def bind binding end |
#gemfile_path ⇒ Object
15 16 17 |
# File 'lib/bundix/shell_nix_context.rb', line 15 def gemfile_path path_for(gemfile) end |
#gemset_path ⇒ Object
23 24 25 |
# File 'lib/bundix/shell_nix_context.rb', line 23 def gemset_path path_for(gemset) end |
#lockfile_path ⇒ Object
19 20 21 |
# File 'lib/bundix/shell_nix_context.rb', line 19 def lockfile_path path_for(lockfile) end |