module StringExtensions

Constants

OPERATOR_AFTER

Public Instance Methods

args(*args) click to toggle source
# File lib/functionalist/point_free/string_extensions.rb, line 9
def args(*args)
  @point_free_args = args
end
expression() click to toggle source
# File lib/functionalist/point_free/string_extensions.rb, line 27
def expression
  @@expression ||= Functionalist::PointFree::Expression.new
end
point() click to toggle source
# File lib/functionalist/point_free/string_extensions.rb, line 14
  def point

  def to_proc
    self.strip.split(OPERATOR_AFTER).reverse.each do |node|
      parse node


    end
  end


  private

  def expression
    @@expression ||= Functionalist::PointFree::Expression.new
  end

end
r(receiver) click to toggle source
# File lib/functionalist/point_free/string_extensions.rb, line 5
def r(receiver)
  @point_free_receiver = receiver
end
to_proc() click to toggle source
# File lib/functionalist/point_free/string_extensions.rb, line 16
def to_proc
  self.strip.split(OPERATOR_AFTER).reverse.each do |node|
    parse node


  end
end