Module: OpenAPISourceTools::Common::Out
- Defined in:
- lib/openapi/sourcetools/common.rb
Class Method Summary collapse
-
.count ⇒ Object
Returns the value of attribute count.
- .put(message) ⇒ Object
-
.quiet ⇒ Object
Returns the value of attribute quiet.
-
.quiet=(value) ⇒ Object
Sets the attribute quiet.
Class Method Details
.count ⇒ Object
Returns the value of attribute count.
32 33 34 |
# File 'lib/openapi/sourcetools/common.rb', line 32 def count @count end |
.put(message) ⇒ Object
38 39 40 41 |
# File 'lib/openapi/sourcetools/common.rb', line 38 def self.put() Common.aargh() unless @quiet @count = @count.nil? ? 1 : @count + 1 end |
.quiet ⇒ Object
Returns the value of attribute quiet.
34 35 36 |
# File 'lib/openapi/sourcetools/common.rb', line 34 def quiet @quiet end |
.quiet=(value) ⇒ Object
Sets the attribute quiet
34 35 36 |
# File 'lib/openapi/sourcetools/common.rb', line 34 def quiet=(value) @quiet = value end |