Module: RubyOnAsteroids

Defined in:
lib/ruby_on_asteroids.rb,
lib/ruby_on_asteroids/version.rb,
lib/ruby_on_asteroids/core_ext/string/accessing.rb

Overview

I’m the root module of the gem. I provide useful methods to enable enhancements

Defined Under Namespace

Modules: CoreExt Classes: Error

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.enhance_stringsObject

Apply patches to the String class to enhance it by adding new methods



10
11
12
13
14
# File 'lib/ruby_on_asteroids.rb', line 10

def enhance_strings
  require "ruby_on_asteroids/core_ext/string/accessing"

  String.include RubyOnAsteroids::CoreExt::String::Accessing
end