Module: Card::Set::Right::Followers
- Extended by:
- Card::Set
- Defined in:
- tmpsets/set/mod017-follow/right/followers.rb
Overview
-- encoding : utf-8 --
Defined Under Namespace
Modules: HtmlFormat
Class Method Summary collapse
Instance Method Summary collapse
Methods included from I18nScope
Methods included from Loader
#clean_empty_module_from_hash, #clean_empty_modules, #extended, #process_base_modules, #register_set
Methods included from Helpers
#abstract_set?, #all_set?, #num_set_parts, #shortname, #underscore
Methods included from AdvancedApi
#attachment, #ensure_set, #stage_method
Methods included from Format
#before, #format, layout_method_name, #view, view_method_name, view_setting_method_name, wrapper_method_name
Methods included from Inheritance
#include_set, #include_set_formats
Methods included from Basket
#abstract_basket, #add_to_basket, #basket, #unshift_basket
Methods included from Trait
#card_accessor, #card_reader, #card_writer, #require_field
Methods included from Event::Api
Class Method Details
.source_location ⇒ Object
9 |
# File 'tmpsets/set/mod017-follow/right/followers.rb', line 9 def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/follow/set/right/followers.rb"; end |
Instance Method Details
#content ⇒ Object
20 21 22 23 24 |
# File 'tmpsets/set/mod017-follow/right/followers.rb', line 20 def content return "" unless left item_names.map { |item| "[[#{item}]]" }.join "\n" end |
#item_names(_args = {}) ⇒ Object
26 27 28 29 |
# File 'tmpsets/set/mod017-follow/right/followers.rb', line 26 def item_names _args={} return [] unless left left.follow_set_card.prototype.follower_names end |
#virtual? ⇒ Boolean
31 32 33 |
# File 'tmpsets/set/mod017-follow/right/followers.rb', line 31 def virtual? !real? end |