Sha256: 0f66229bc3b9da5085e466c0004c4c7cea5f20f928f14501a4a89f7355046123

Contents?: true

Size: 890 Bytes

Versions: 20

Compression:

Stored size: 890 Bytes

Contents

require 'xampl_generated_code/XamplAdHoc.rb'

Xampl.set_default_persister_kind(:tokyo_cabinet)

class Widget

  def Widget.indexed_attributes
    %w{ value gadget-value }
  end

  Xampl::TokyoCabinetPersister.add_lexical_indexs(Widget.indexed_attributes)

  def describe_yourself
    description = {
            'value' => self.value
    }

    secondary_descriptions = []

    self.gadget.each do | gadget |
      secondary_descriptions << {
              'gadget-value' => gadget.value
      }


    end

    puts "\n\n\n\n#{ __FILE__ }:#{ __LINE__ } WIDGET(#{ self.pid })"
#    puts pp_xml
    puts "#{ __FILE__ }:#{ __LINE__ }     description: #{ description.inspect }"
    secondary_descriptions.each do | secondary |
      puts "#{ __FILE__ }:#{ __LINE__ }       secondary: #{ secondary.inspect }"
    end
    puts "\n\n\n"

    return description, secondary_descriptions
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
xamplr-1.9.20 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.18 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.16 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.15 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.14 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.13 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.12 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.11 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.10 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.9 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.8 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.7 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.6 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.5 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.4 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.3 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.2 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.1 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.9.0 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb
xamplr-1.3.15 regression/tc-indexes-crossing-pid-boundaries/bad-idea.rb