class FeduxOrgStdlib::FixturesManagement::Fixture

Fixture

Attributes

name[R]
path[R]
type[R]

Public Class Methods

new(path) click to toggle source
# File lib/fedux_org_stdlib/fixtures_management/fixture.rb, line 18
def initialize(path)
  @path = Pathname.new(path)
end

Public Instance Methods

type?(t) click to toggle source

Is of type?

@return [TrueClass,FalseClass]

The result of test
# File lib/fedux_org_stdlib/fixtures_management/fixture.rb, line 31
def type?(t)
  type == t
end