Module: Useful::RubyExtensions::String
- Included in:
- String
- Defined in:
- lib/useful/ruby_extensions/string.rb
Defined Under Namespace
Modules: ClassMethods, FromActivesupport, InstanceMethods
Constant Summary collapse
- EMAIL_REGEXP =
/\A([\w\.\-\+]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
303 304 305 306 307 308 |
# File 'lib/useful/ruby_extensions/string.rb', line 303 def self.included(receiver) receiver.extend ClassMethods receiver.extend FromActivesupport::ClassMethods receiver.send :include, InstanceMethods receiver.send :include, FromActivesupport::InstanceMethods end |