Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/transparent_git/ext.rb,
lib/transparent_git/ext.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
24 25 26 |
# File 'lib/transparent_git/ext.rb', line 24 def blank? to_s.strip == '' end |
#klass ⇒ Object
40 41 42 |
# File 'lib/transparent_git/ext.rb', line 40 def klass self.class end |
#present? ⇒ Boolean
27 28 29 |
# File 'lib/transparent_git/ext.rb', line 27 def present? !blank? end |