class Funcutils::Piper
Public Class Methods
new(value)
click to toggle source
# File lib/funcutils/piper.rb, line 3 def initialize(value) @value = value end
Public Instance Methods
>()
click to toggle source
# File lib/funcutils/piper.rb, line 16 def > pipe(&Proc.new) end
pipe() { |value| ... }
click to toggle source
# File lib/funcutils/piper.rb, line 7 def pipe @value = yield @value self end
result()
click to toggle source
# File lib/funcutils/piper.rb, line 12 def result @value end