Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/englishest.rb

Overview

A String object has an arbitrary sequence of bytes, typically representing text or binary data. Extensions provided by this library focus on making more specific features around String usable with more classic lexical calls.

Instance Method Summary collapse

Instance Method Details

#subshellObject Also known as: run

Allow to method-pipeline strings toward a subshell execution, in more subject-verb oriented manner than the default backtilt +“. Subjectively that can also be considered more aligned with the “everything is object” spirit



185
186
187
# File 'lib/englishest.rb', line 185

def subshell
  `#{self}`
end