Class: CatClaw::RubyChinaCat
- Inherits:
-
Object
- Object
- CatClaw::RubyChinaCat
- Defined in:
- lib/cat_claw/cats/ruby_china_cat.rb
Constant Summary collapse
- KEYWORD =
"远程"
Instance Attribute Summary collapse
-
#footprint ⇒ Object
Returns the value of attribute footprint.
Instance Method Summary collapse
-
#initialize ⇒ RubyChinaCat
constructor
A new instance of RubyChinaCat.
- #paw ⇒ Object
Constructor Details
#initialize ⇒ RubyChinaCat
Returns a new instance of RubyChinaCat.
8 9 10 11 12 13 14 |
# File 'lib/cat_claw/cats/ruby_china_cat.rb', line 8 def initialize @base_url = "https://ruby-china.org" @footprint = { source: "RubyChina", jobs: [], } end |
Instance Attribute Details
#footprint ⇒ Object
Returns the value of attribute footprint.
7 8 9 |
# File 'lib/cat_claw/cats/ruby_china_cat.rb', line 7 def footprint @footprint end |
Instance Method Details
#paw ⇒ Object
16 17 18 19 20 21 |
# File 'lib/cat_claw/cats/ruby_china_cat.rb', line 16 def paw 3.times do |i| whisper (i+1) end @footprint end |