Class: Pikuri::Skill::Catalog::Empty

Inherits:
Pikuri::Skill::Catalog show all
Defined in:
lib/pikuri/skill/catalog.rb

Overview

Null-object catalog. The EMPTY constant is the singleton used as the default when no skills are wired in.

Constant Summary

Constants inherited from Pikuri::Skill::Catalog

MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH

Instance Method Summary collapse

Methods inherited from Pikuri::Skill::Catalog

#empty?, #format_for_prompt

Instance Method Details

#get(_name) ⇒ Object



109
110
111
# File 'lib/pikuri/skill/catalog.rb', line 109

def get(_name)
  nil
end

#listObject



105
106
107
# File 'lib/pikuri/skill/catalog.rb', line 105

def list
  [].freeze
end

#rootsObject



113
114
115
# File 'lib/pikuri/skill/catalog.rb', line 113

def roots
  [].freeze
end