class Rookout::Processor::Paths::Canopy::LookupOperation
Public Class Methods
new(text)
click to toggle source
# File lib/rookout/processor/paths/canopy/markers.rb, line 51 def initialize text if (text.start_with?("'") && text.end_with?("'")) || (text.start_with?("\"") && text.end_with?("\"")) @key = text[1...-1] else @key = text.to_i end end
Public Instance Methods
read(namepsace, _create)
click to toggle source
# File lib/rookout/processor/paths/canopy/markers.rb, line 59 def read namepsace, _create namepsace.read_key @key end