class SuchMeta::OverrideHashFetcher
Attributes
data[R]
Public Class Methods
new(tag_type, data)
click to toggle source
Calls superclass method
SuchMeta::Fetcher::new
# File lib/such_meta/fetchers/override_hash_fetcher.rb, line 5 def initialize(tag_type, data) super(tag_type) @data = data end
Public Instance Methods
call()
click to toggle source
# File lib/such_meta/fetchers/override_hash_fetcher.rb, line 10 def call data.fetch(tag_type.to_sym, nil) end