Class: ODDB::View::TestNavigationFoot::StubLookandfeel

Inherits:
LookandfeelBase show all
Defined in:
test/test_view/navigationfoot.rb

Constant Summary

DICTIONARIES =
{
    "de" =>  {
      :foo                =>  "Foo",
    :bar               => "Bar",
    :baz               => "Baz",
    :date_format       => "%d.%m.%Y",
    :navigation_divider => " | ",
  }
}

Constants inherited from LookandfeelBase

CAPTCHA_DIR, DICTIONARIES, HTML_ATTRIBUTES, RESOURCES

Instance Method Summary (collapse)

Methods inherited from LookandfeelBase

#captcha, #compare_list_components, #comparison_sorter, #currencies, #explain_result_components, #format_price, #generate_challenge, #has_result_filter?, #migel_list_components, #result_filter, #result_list_components, #section_style, #sequence_list_components

Instance Method Details

- (Object) direct_event



43
44
45
# File 'test/test_view/navigationfoot.rb', line 43

def direct_event
  :foo
end

- (Object) event_url(event)



46
47
48
# File 'test/test_view/navigationfoot.rb', line 46

def event_url(event)
  "/de/gcc/#{event}"
end


49
50
51
# File 'test/test_view/navigationfoot.rb', line 49

def navigation
  [StubFooState, StubBarState, StubBazState]
end