Class: KafoWizards::Entries::StringOrFileEntry

Inherits:
StringEntry show all
Defined in:
lib/kafo_wizards/entries/string_or_file.rb

Instance Attribute Summary

Attributes inherited from AbstractEntry

#default_value, #description, #label, #name, #parent, #post_hook, #pre_hook, #validators, #value

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractEntry

#call_post_hook, #call_pre_hook, descendants, #display_type, inherited, #required?, #update, #validate

Constructor Details

#initialize(name, options = {}) ⇒ StringOrFileEntry

Returns a new instance of StringOrFileEntry.



5
6
7
# File 'lib/kafo_wizards/entries/string_or_file.rb', line 5

def initialize(name, options={})
  super(name, options)
end

Class Method Details

.entry_typeObject



9
10
11
# File 'lib/kafo_wizards/entries/string_or_file.rb', line 9

def self.entry_type
  :string_or_file
end