Class: Believe::Models::GrowthArc

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/believe/models/growth_arc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(breakthrough:, challenge:, ending_point:, season:, starting_point:) ⇒ Object

Character development arc.

Parameters:

  • breakthrough (String)

    Key breakthrough moment

  • challenge (String)

    Main challenge faced

  • ending_point (String)

    Where the character ends up

  • season (Integer)

    Season number

  • starting_point (String)

    Where the character starts emotionally



# File 'lib/believe/models/growth_arc.rb', line 36

Instance Attribute Details

#breakthroughString

Key breakthrough moment

Returns:

  • (String)


10
# File 'lib/believe/models/growth_arc.rb', line 10

required :breakthrough, String

#challengeString

Main challenge faced

Returns:

  • (String)


16
# File 'lib/believe/models/growth_arc.rb', line 16

required :challenge, String

#ending_pointString

Where the character ends up

Returns:

  • (String)


22
# File 'lib/believe/models/growth_arc.rb', line 22

required :ending_point, String

#seasonInteger

Season number

Returns:

  • (Integer)


28
# File 'lib/believe/models/growth_arc.rb', line 28

required :season, Integer

#starting_pointString

Where the character starts emotionally

Returns:

  • (String)


34
# File 'lib/believe/models/growth_arc.rb', line 34

required :starting_point, String