Class: Bake::BuildPattern
- Inherits:
-
Object
- Object
- Bake::BuildPattern
- Defined in:
- lib/bakery/buildPattern.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#args_end ⇒ Object
readonly
Returns the value of attribute args_end.
-
#coll_p ⇒ Object
readonly
Returns the value of attribute coll_p.
-
#conf ⇒ Object
readonly
Returns the value of attribute conf.
-
#proj ⇒ Object
readonly
Returns the value of attribute proj.
Instance Method Summary collapse
- #==(comparee) ⇒ Object
- #eql?(comparee) ⇒ Boolean
- #getId ⇒ Object
- #hash ⇒ Object
-
#initialize(proj, conf, args, args_end, coll_p) ⇒ BuildPattern
constructor
A new instance of BuildPattern.
Constructor Details
#initialize(proj, conf, args, args_end, coll_p) ⇒ BuildPattern
Returns a new instance of BuildPattern.
5 6 7 8 9 10 11 |
# File 'lib/bakery/buildPattern.rb', line 5 def initialize(proj, conf, args, args_end, coll_p) @proj = proj @conf = conf @args = args @args_end = args_end @coll_p = coll_p end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
4 5 6 |
# File 'lib/bakery/buildPattern.rb', line 4 def args @args end |
#args_end ⇒ Object (readonly)
Returns the value of attribute args_end.
4 5 6 |
# File 'lib/bakery/buildPattern.rb', line 4 def args_end @args_end end |
#coll_p ⇒ Object (readonly)
Returns the value of attribute coll_p.
4 5 6 |
# File 'lib/bakery/buildPattern.rb', line 4 def coll_p @coll_p end |
#conf ⇒ Object (readonly)
Returns the value of attribute conf.
4 5 6 |
# File 'lib/bakery/buildPattern.rb', line 4 def conf @conf end |
#proj ⇒ Object (readonly)
Returns the value of attribute proj.
4 5 6 |
# File 'lib/bakery/buildPattern.rb', line 4 def proj @proj end |
Instance Method Details
#==(comparee) ⇒ Object
21 22 23 |
# File 'lib/bakery/buildPattern.rb', line 21 def ==(comparee) self.getId == comparee.getId end |
#eql?(comparee) ⇒ Boolean
18 19 20 |
# File 'lib/bakery/buildPattern.rb', line 18 def eql?(comparee) self == comparee end |
#getId ⇒ Object
12 13 14 |
# File 'lib/bakery/buildPattern.rb', line 12 def getId proj + "*******" + conf end |
#hash ⇒ Object
15 16 17 |
# File 'lib/bakery/buildPattern.rb', line 15 def hash getId.hash end |