Class: String

Inherits:
Object show all
Defined in:
lib/leap_cli/core_ext/string.rb,
lib/leap_cli/core_ext/string.rb,
lib/leap_cli/core_ext/deep_dup.rb

Instance Method Summary collapse

Instance Method Details

#any?Boolean

Returns:



12
# File 'lib/leap_cli/core_ext/string.rb', line 12

def any?; self.chars.any?; end

#deep_dupObject



18
19
20
# File 'lib/leap_cli/core_ext/deep_dup.rb', line 18

def deep_dup
  self.dup
end

#to_aObject



6
# File 'lib/leap_cli/core_ext/string.rb', line 6

def to_a; [self]; end