Class: Jekyll::VersionedFiles::Counter
- Inherits:
-
Object
- Object
- Jekyll::VersionedFiles::Counter
- Defined in:
- lib/jekyll/versioned_files/counter.rb
Instance Attribute Summary collapse
-
#del ⇒ Object
readonly
Returns the value of attribute del.
-
#final ⇒ Object
readonly
Returns the value of attribute final.
-
#ins ⇒ Object
readonly
Returns the value of attribute ins.
Instance Method Summary collapse
-
#initialize ⇒ Counter
constructor
A new instance of Counter.
Constructor Details
#initialize ⇒ Counter
Returns a new instance of Counter.
6 7 8 9 |
# File 'lib/jekyll/versioned_files/counter.rb', line 6 def initialize @del = 0 @ins = 0 end |
Instance Attribute Details
#del ⇒ Object (readonly)
Returns the value of attribute del.
4 5 6 |
# File 'lib/jekyll/versioned_files/counter.rb', line 4 def del @del end |
#final ⇒ Object (readonly)
Returns the value of attribute final.
4 5 6 |
# File 'lib/jekyll/versioned_files/counter.rb', line 4 def final @final end |
#ins ⇒ Object (readonly)
Returns the value of attribute ins.
4 5 6 |
# File 'lib/jekyll/versioned_files/counter.rb', line 4 def ins @ins end |