Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/core_ext.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.ruby_version ⇒ Object
12 13 14 |
# File 'lib/core_ext.rb', line 12 def self.ruby_version RUBY_VERSION end |
Instance Method Details
#blank? ⇒ Boolean
16 17 18 |
# File 'lib/core_ext.rb', line 16 def blank? respond_to?(:empty?) ? empty? : !self end |