Class: Trifle::Docs::Harvester::Sieve

Inherits:
Object
  • Object
show all
Defined in:
lib/trifle/docs/harvester.rb

Direct Known Subclasses

File::Sieve, Markdown::Sieve

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:, file:) ⇒ Sieve

Returns a new instance of Sieve.



70
71
72
73
# File 'lib/trifle/docs/harvester.rb', line 70

def initialize(path:, file:)
  @path = path
  @file = file
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



68
69
70
# File 'lib/trifle/docs/harvester.rb', line 68

def file
  @file
end

#pathObject (readonly)

Returns the value of attribute path.



68
69
70
# File 'lib/trifle/docs/harvester.rb', line 68

def path
  @path
end

Instance Method Details

#match?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/trifle/docs/harvester.rb', line 75

def match?
  raise 'Not Impelemented'
end

#to_urlObject



79
80
81
# File 'lib/trifle/docs/harvester.rb', line 79

def to_url
  raise 'Not Impelemented'
end