Class: String

Inherits:
Object show all
Defined in:
lib/redmine-installer/patches/ruby.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/redmine-installer/patches/ruby.rb', line 15

def blank?
  empty?
end

#present?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/redmine-installer/patches/ruby.rb', line 19

def present?
  !blank?
end