class Input

Public Class Methods

new(path) click to toggle source
# File lib/vimput/input.rb, line 2
def initialize(path)
  @path = path
end

Public Instance Methods

value() click to toggle source
# File lib/vimput/input.rb, line 6
def value
  begin
    File.read(@path)
  rescue
    nil
  end
end