Project

General

Profile

Coloration code


<schema>
    <entity TYPE="WebCast">
        <value TYPE="LogLineNumber" datatype="integer" />
        <value TYPE="Protocol" datatype="string" />
        <value TYPE="StartDate" datatype="date"/>
        <value TYPE="EndDate" datatype="date"/>
        <value TYPE="Duration" datatype="float"/>
        <!-- seconds -->
        <value TYPE="ClientIpAddress" datatype="string"/>
        <value TYPE="Application" datatype="string"/>
        <value TYPE="VideoFile" datatype="string"/>
        <value TYPE="FileLength" datatype="float"/>
        <!-- seconds -->
        <value TYPE="FileSize" datatype="integer"/>
        <!-- bytes -->
        <value TYPE="PercentageView" datatype="float"/>
        <value TYPE="Referer" datatype="string"/>
        <value TYPE="ClientUserAgent" datatype="string"/>
        <value TYPE="EventId" datatype="integer"/>
    </entity>
</schema>

# The Greeter class
 class Greeter
   def initialize(name)
     @name = name.capitalize
   end

   def salute
     puts "Hello #{@name}!" 
   end
 end