Sha256: cff9d9dcd71f320c6c782be57dc55f9182ad8a7e4aa7529f19dcef92c3bf7581

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

module FakeEtc
  class << self
    [:endpwent,
     :getpwent,
     :getpwnam,
     :getpwuid,
     :passwd,
     :setpwent].each do |m|
      define_method(m) do
        fail NotImplementedError, "FakeEtc.#{m} not implemented yet"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakeetc-0.1.0 lib/fakeetc/users.rb