Class: RIM::Manifest::Module
- Inherits:
-
Object
- Object
- RIM::Manifest::Module
- Defined in:
- lib/rim/manifest/model.rb
Instance Attribute Summary collapse
-
#ignores ⇒ Object
readonly
Returns the value of attribute ignores.
-
#local_path ⇒ Object
readonly
Returns the value of attribute local_path.
-
#remote_path ⇒ Object
readonly
Returns the value of attribute remote_path.
-
#subdir ⇒ Object
readonly
Returns the value of attribute subdir.
-
#target_revision ⇒ Object
readonly
Returns the value of attribute target_revision.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Module
constructor
A new instance of Module.
Constructor Details
#initialize(args = {}) ⇒ Module
Returns a new instance of Module.
23 24 25 26 27 28 29 |
# File 'lib/rim/manifest/model.rb', line 23 def initialize(args = {}) @remote_path = args[:remote_path] @local_path = args[:local_path] @target_revision = args[:target_revision] @ignores = args[:ignores] @subdir = args[:subdir] end |
Instance Attribute Details
#ignores ⇒ Object (readonly)
Returns the value of attribute ignores.
20 21 22 |
# File 'lib/rim/manifest/model.rb', line 20 def ignores @ignores end |
#local_path ⇒ Object (readonly)
Returns the value of attribute local_path.
18 19 20 |
# File 'lib/rim/manifest/model.rb', line 18 def local_path @local_path end |
#remote_path ⇒ Object (readonly)
Returns the value of attribute remote_path.
17 18 19 |
# File 'lib/rim/manifest/model.rb', line 17 def remote_path @remote_path end |
#subdir ⇒ Object (readonly)
Returns the value of attribute subdir.
21 22 23 |
# File 'lib/rim/manifest/model.rb', line 21 def subdir @subdir end |
#target_revision ⇒ Object (readonly)
Returns the value of attribute target_revision.
19 20 21 |
# File 'lib/rim/manifest/model.rb', line 19 def target_revision @target_revision end |