Class: RubyCurses::Split

Inherits:
Struct
  • Object
show all
Defined in:
lib/rbcurse/rvimsplit.rb

Overview

Split contains info for a component added. weight is preferred weight and can contain value :AUTO. act_weight has the weight calculated. Often, last component can be nil, remainder will be assigned to it.

Instance Attribute Summary collapse

Instance Attribute Details

#act_weightObject

Returns the value of attribute act_weight

Returns:

  • (Object)

    the current value of act_weight



32
33
34
# File 'lib/rbcurse/rvimsplit.rb', line 32

def act_weight
  @act_weight
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



32
33
34
# File 'lib/rbcurse/rvimsplit.rb', line 32

def type
  @type
end

#weightObject

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



32
33
34
# File 'lib/rbcurse/rvimsplit.rb', line 32

def weight
  @weight
end

#whichObject

Returns the value of attribute which

Returns:

  • (Object)

    the current value of which



32
33
34
# File 'lib/rbcurse/rvimsplit.rb', line 32

def which
  @which
end