Class: E621ExportDownloader::Client::Options::Builder::Parsers

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/e621_export_downloader/client/options/builder/parsers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(defaults = Options::Parsers.defaults) ⇒ Parsers

Returns a new instance of Parsers.



30
31
32
33
34
35
36
37
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 30

def initialize(defaults = Options::Parsers.defaults)
  @pools = T.let(T.must(defaults.pools), Parser)
  @posts = T.let(T.must(defaults.posts), Parser)
  @tag_aliases = T.let(T.must(defaults.tag_aliases), Parser)
  @tag_implications = T.let(T.must(defaults.tag_implications), Parser)
  @tags = T.let(T.must(defaults.tags), Parser)
  @wiki_pages = T.let(T.must(defaults.wiki_pages), Parser)
end

Instance Attribute Details

#poolsObject

Returns the value of attribute pools.



12
13
14
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 12

def pools
  @pools
end

#postsObject

Returns the value of attribute posts.



15
16
17
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 15

def posts
  @posts
end

#tag_aliasesObject

Returns the value of attribute tag_aliases.



18
19
20
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 18

def tag_aliases
  @tag_aliases
end

#tag_implicationsObject

Returns the value of attribute tag_implications.



21
22
23
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 21

def tag_implications
  @tag_implications
end

#tagsObject

Returns the value of attribute tags.



24
25
26
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 24

def tags
  @tags
end

#wiki_pagesObject

Returns the value of attribute wiki_pages.



27
28
29
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 27

def wiki_pages
  @wiki_pages
end