Class: VER::Status::Syntax

Inherits:
Label
  • Object
show all
Defined in:
lib/ver/status/syntax.rb

Instance Attribute Summary

Attributes inherited from Label

#column, #format, #row, #status, #sticky, #variable, #weight

Instance Method Summary collapse

Methods inherited from Label

#initialize, #register, #style=, #text, #toggle, #update

Constructor Details

This class inherits a constructor from VER::Status::Label

Instance Method Details

#setupObject



4
5
6
# File 'lib/ver/status/syntax.rb', line 4

def setup
  register :syntax
end

#to_sObject



8
9
10
# File 'lib/ver/status/syntax.rb', line 8

def to_s
  format % text.syntax.name
end