class Marten::Template::Value
- Marten::Template::Value
- Reference
- Object
Overview
A template value.
Included Modules
- Comparable(Marten::Template::Value)
- Enumerable(Marten::Template::Value)
Defined in:
marten/template/value.crConstructors
Class Method Summary
Instance Method Summary
- #<=>(other : Value)
- #==(other : Value)
- 
        #==(other)
        
          Returns false(other can only be aValuehere).
- #[](key : String) : Value
- 
        #each(&)
        
          Must yield this collection's elements to the block. 
- 
        #raw : Array(Marten::Template::Value) | Bool | Float64 | Hash(Marten::Template::Value, Marten::Template::Value) | Int32 | Int64 | Iterator(Marten::Template::Value) | Marten::DB::Query::Set(Marten::DB::Management::Migrations::Record) | Marten::Handlers::Base | Marten::Schema | Marten::Schema::BoundField | Marten::Schema::Field::Base | Marten::Template::Object | Marten::Template::SafeString | String | Time | Nil
        
          Returns the raw value associated with the template value. 
- #truthy?
Constructor Detail
Class Method Detail
Instance Method Detail
        
        def ==(other)
        #
      
      
        
              Description copied from class Reference
            
          
          Returns false (other can only be a Value here).
        
        def each(&)
        #
      
      
        
              Description copied from module Enumerable(Marten::Template::Value)
            
          
          Must yield this collection's elements to the block.
        
        def raw : Array(Marten::Template::Value) | Bool | Float64 | Hash(Marten::Template::Value, Marten::Template::Value) | Int32 | Int64 | Iterator(Marten::Template::Value) | Marten::DB::Query::Set(Marten::DB::Management::Migrations::Record) | Marten::Handlers::Base | Marten::Schema | Marten::Schema::BoundField | Marten::Schema::Field::Base | Marten::Template::Object | Marten::Template::SafeString | String | Time | Nil
        #
      
      
        Returns the raw value associated with the template value.