Class: DakeScheme::Scheme
- Inherits:
-
Object
- Object
- DakeScheme::Scheme
- Defined in:
- lib/dake/scheme.rb
Constant Summary collapse
- PATTERN =
['']
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#src ⇒ Object
readonly
Returns the value of attribute src.
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
- #checksum ⇒ Object
- #exist? ⇒ Boolean
-
#initialize(scheme_part, path_part, step) ⇒ Scheme
constructor
A new instance of Scheme.
- #mtime ⇒ Object
Constructor Details
#initialize(scheme_part, path_part, step) ⇒ Scheme
5 6 7 8 9 |
# File 'lib/dake/scheme.rb', line 5 def initialize(scheme_part, path_part, step) @src = scheme_part + path_part @path = path_part @step = step end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/dake/scheme.rb', line 4 def path @path end |
#src ⇒ Object (readonly)
Returns the value of attribute src.
4 5 6 |
# File 'lib/dake/scheme.rb', line 4 def src @src end |
#step ⇒ Object (readonly)
Returns the value of attribute step.
4 5 6 |
# File 'lib/dake/scheme.rb', line 4 def step @step end |
Instance Method Details
#checksum ⇒ Object
10 |
# File 'lib/dake/scheme.rb', line 10 def checksum; end |
#exist? ⇒ Boolean
12 |
# File 'lib/dake/scheme.rb', line 12 def exist?; false end |
#mtime ⇒ Object
11 |
# File 'lib/dake/scheme.rb', line 11 def mtime; end |