Class: String
- Defined in:
- lib/eac_ruby_utils/patches/string/delimited.rb,
lib/eac_ruby_utils/patches/string/inflector.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delimited(begin_delimiter, end_delimiter) ⇒ EacRubyUtils::StringDelimited
-
#variableize(validate = true) ⇒ Object
Shortcut to ‘EacRubyUtils::Inflector.variableize(self, …)`.
Instance Method Details
#delimited(begin_delimiter, end_delimiter) ⇒ EacRubyUtils::StringDelimited
7 8 9 |
# File 'lib/eac_ruby_utils/patches/string/delimited.rb', line 7 def delimited(begin_delimiter, end_delimiter) ::EacRubyUtils::StringDelimited.new(self, begin_delimiter, end_delimiter) end |
#variableize(validate = true) ⇒ Object
Shortcut to ‘EacRubyUtils::Inflector.variableize(self, …)`.
8 9 10 |
# File 'lib/eac_ruby_utils/patches/string/inflector.rb', line 8 def variableize(validate = true) # rubocop:disable Style/OptionalBooleanParameter ::EacRubyUtils::Inflector.variableize(self, validate) end |