Class: GemLint::Runner
- Inherits:
-
Object
- Object
- GemLint::Runner
- Defined in:
- lib/gem_lint/runner.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#tags_with_desc ⇒ Object
readonly
Returns the value of attribute tags_with_desc.
-
#tags_with_level ⇒ Object
readonly
Returns the value of attribute tags_with_level.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(filename) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(filename) ⇒ Runner
Returns a new instance of Runner.
9 10 11 12 13 14 |
# File 'lib/gem_lint/runner.rb', line 9 def initialize(filename) raise ArgumentError, "'#{filename}' does not exist" unless File.file?(filename.to_s) @filename = filename init_vars end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
7 8 9 |
# File 'lib/gem_lint/runner.rb', line 7 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/gem_lint/runner.rb', line 7 def name @name end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
6 7 8 |
# File 'lib/gem_lint/runner.rb', line 6 def @tags end |
#tags_with_desc ⇒ Object (readonly)
Returns the value of attribute tags_with_desc.
6 7 8 |
# File 'lib/gem_lint/runner.rb', line 6 def @tags_with_desc end |
#tags_with_level ⇒ Object (readonly)
Returns the value of attribute tags_with_level.
6 7 8 |
# File 'lib/gem_lint/runner.rb', line 6 def @tags_with_level end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/gem_lint/runner.rb', line 7 def version @version end |