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.



346
347
348
349
# File 'lib/trifle/docs/harvester.rb', line 346

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

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



344
345
346
# File 'lib/trifle/docs/harvester.rb', line 344

def file
  @file
end

#pathObject (readonly)

Returns the value of attribute path.



344
345
346
# File 'lib/trifle/docs/harvester.rb', line 344

def path
  @path
end

Instance Method Details

#match?Boolean

Returns:



351
352
353
# File 'lib/trifle/docs/harvester.rb', line 351

def match?
  raise 'Not Impelemented'
end

#to_urlObject



355
356
357
# File 'lib/trifle/docs/harvester.rb', line 355

def to_url
  raise 'Not Impelemented'
end