Class: StackOne::Models::Shared::HasChildren

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/has_children.rb

Overview

Whether the file has children

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initializeHasChildren

Returns a new instance of HasChildren.



17
# File 'lib/stack_one/models/shared/has_children.rb', line 17

def initialize; end

Instance Method Details

#==(other) ⇒ Object



20
21
22
23
# File 'lib/stack_one/models/shared/has_children.rb', line 20

def ==(other)
  return false unless other.is_a? self.class
  true
end