class Ciphr::Functions::Reader::StringReader::StringProc

Public Class Methods

new(str) click to toggle source
# File lib/ciphr/functions/reader.rb, line 11
def initialize(str)
  @str = str
end

Public Instance Methods

call() click to toggle source
# File lib/ciphr/functions/reader.rb, line 15
def call
  begin
    @str
  ensure
    @str = nil
  end
end